package com.zhiyun.cnhyb.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

import android.content.Context;

public class PropertyLoad {

    public static Properties getProperties(Context context, String path) throws IOException {

        InputStream in = context.getAssets().open(path);
        Properties p = new Properties();
        p.load(in);
        return p;
    }
}
